home *** CD-ROM | disk | FTP | other *** search
- Path: asterix.urc.tue.nl!buex95a
- From: buex95a@asterix.urc.tue.nl (Marcel van Kervinck)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Passing arguments to a thread
- Date: 31 Jan 1996 15:35:40 GMT
- Organization: Eindhoven University of Technology, The Netherlands
- Message-ID: <4eo28c$im3@tuegate.tue.nl>
- References: <4ed1eq$nfi@newsy.ifm.liu.se>
- NNTP-Posting-Host: asterix.urc.tue.nl
- X-Newsreader: TIN [version 1.2 PL2]
-
- Martin Blom (d93marbl@isy.liu.se) wrote:
- : Is there a (nice) way to pass arguments to a new process?
-
- I usually pass arguments to a new task on it's new stack.
- I have to allocate that stack anyway, so there is no harm
- in setting up a stackframe. I even go as far as passing
- execbase around this way. I mentioned this before in this
- group. It seems more elegant than using that ugly $4 fetch.
-
- Marcel
- -- _ _
- _| |_|_|
- |_ |_ Marcel van Kervinck
- |_| buex95a@urc.tue.nl
-